﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Transports.PresentationLayer
{
    class IOConsole : IO
    {
        public void WriteLine(string text)
        {
            Console.WriteLine(text);
        }

        public void Write(string text)
        { 
            Console.Write(text); 
        }

        public string ReadLine()
        {
            return Console.ReadLine();
        }

        public int Read()
        {
            return Console.Read();
        }

        public void Pause()
        {
            Console.ReadKey(true);
        }

        public char ReadChar()
        {
            return Console.ReadKey().KeyChar;
        }

        public bool EOF() { return true; }
    }
}
